<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>


</head>
<body onclick="method01()">
刷新！
</body>
</html>

<script type="text/javascript">
    function method01(){
        location.reload();   //刷新
    }
    window.setInterval('method01()',3*1000);

</script>